﻿<UserControl x:Class="HelloWorld.DisplayModule.DisplayView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:l="clr-namespace:HelloWorld.DisplayModule"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" xmlns:my="clr-namespace:Codeplex.KinkumaFramework;assembly=KinkumaFramework.NET4">
    <UserControl.DataContext>
        <l:DisplayViewModel />
    </UserControl.DataContext>
    <i:Interaction.Behaviors>
        <my:InjectToViewModelBehavior />
    </i:Interaction.Behaviors>
    <Grid>
        <ScrollViewer HorizontalScrollBarVisibility="Visible" VerticalScrollBarVisibility="Auto" MinHeight="150">
            <ItemsControl ItemsSource="{Binding Path=DisplayItems.Value}" />
        </ScrollViewer>
    </Grid>
</UserControl>
